
<form  class="col-sm-9" name="editForm" role="form" novalidate ng-submit="vm.save()">
    <div class="card">
    <div class="card-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true"
                ng-click="vm.clear()">&times;</button>
        <h4 class="modal-title" id="myRuleRepositoryLabel">创建新的规则</h4>
    </div>
    <div class="card-block">
        <div class="row">


            <div class="form-group col-sm-3" ng-show="vm.ruleRepository.id">
                <label for="id">ID</label>
                <input type="text" class="form-control" id="id" name="id"
                       ng-model="vm.ruleRepository.id" readonly />
            </div>

            <div class="form-group col-sm-3">
                <label for="field_bingming">病名</label>
                <select  ng-model="vm.ruleRepository.bingmingName" class="form-control" id="field_bingming" ng-options="bingMing.bmName as bingMing.bmName for bingMing in vm.bName track by bingMing.bmName">
                    <option value=""></option>
                </select>
            </div>

            <div class="form-group col-sm-3">
                <label for="field_zx">证型</label>
                <select ng-model="vm.ruleRepository.zhengxingName" class="form-control" id="field_zx" ng-options="zx.zxName as zx.zxName for zx in vm.zxName track by zx.zxName">
                    <option value="">{{vm.ruleRepository.zhengxingName}}</option>
                </select>
            </div>

        </div>        <!--/.row-->

        <!--<div class="row">-->

            <!--<div class="col-sm-8">-->

                <!--<div class="form-group">-->
                    <!--<label for="ccnumber">Credit Card Number</label>-->
                    <!--<input type="text" class="form-control" id="ccnumber" placeholder="0000 0000 0000 0000">-->
                <!--</div>-->

            <!--</div>-->


        <!--</div>-->
        <!--/.row-->

        <div>
        <div class="row">
        <div class="col-md-1"><b>征象</b></div>
        </div>
        <hr>
        <div class="form-group row zxm"   ng-repeat="x in vm.zxs track by $index">
            <label  class="col-md-2 form-control-label">{{x.z_x_name}}</label>
            <label  class="col-md-4 form-control-label">当前已选：{{vm.zx[$index]}}</label>
            <div class="col-md-6" >
                <label  class="radio-inline" for="{{x.z_x_name}}" repeat-finish ng-repeat="y in x.z_x_JT track by $index"  >
                    <input type="radio" id="{{x.z_x_name}}" name="{{x.z_x_name}}" ng-model="$parent.jtzx[$parent.$index]" value="{{y}}" />
                    <span>{{y}}</span>
                </label>
            </div>

        </div>
            <div class="form-group row"repeat-finish ng-repeat="x in vm.bszxs ">
                <label class="col-md-2 form-control-label" >{{x.bszz_z_x_name}}</label>
                <label class="col-md-4 form-control-label" >当前已选：{{vm.bszx}} </label>
                <div class="col-md-6">
                    <label class="radio-inline" ng-repeat="y in x.bszz_z_x_JT track by $index">
                        <input type="checkbox" ng-true-value="'{{y}}'"ng-false-value="" ng-model="bszzjtzx[$index]"/>{{y}}
                    </label>
                </div>

             </div>



        <!--<div class="form-group row">-->
            <!--<label class="col-md-1 form-control-label">征象3</label>-->
            <!--<div class="col-md-9">-->
                <!--<label class="checkbox-inline" for="inline-checkbox1">-->
                    <!--<input type="checkbox" id="inline-checkbox31" name="inline-checkbox1" value="option1">One-->
                <!--</label>-->
                <!--<label class="checkbox-inline" for="inline-checkbox2">-->
                    <!--<input type="checkbox" id="inline-checkbox32" name="inline-checkbox2" value="option2">Two-->
                <!--</label>-->
                <!--<label class="checkbox-inline" for="inline-checkbox3">-->
                    <!--<input type="checkbox" id="inline-checkbox33" name="inline-checkbox3" value="option3">Three-->
                <!--</label>-->
            <!--</div>-->
        <!--</div>-->
        <hr>
        </div>
        <!--/.row-->
    </div>
    <div class="card-footer">
        <button type="submit" class="btn btn-primary">
            <span class="glyphicon glyphicon-save"></span>&nbsp;<span data-translate="entity.action.save">Save</span>
        </button>

    </div>
        </div>
</form>
